using System;
using System.Drawing;
using System.Windows.Forms;
using System.Collections.Generic;
using System.IO;

public partial class GUI1Form : Form
{
    public GUI1Form()
    {
        InitializeComponent();
        listView1.comboPwd = comboBox1;
    }

    private void Form1_Load(object sender, EventArgs e)
    {
        listView1.refresh();
    }

    private void exitToolStripMenuItem_Click(object sender, EventArgs e)
    {
        this.Close();
    }

    private void listView1_ItemActivate(object sender, EventArgs e)
    {
        listView1.activate();
    }

    private void removeToolStripMenuItem_Click(object sender, EventArgs e)
    {
        listView1.refresh();
    }

    private void toolStripButton1_Click(object sender, EventArgs e)
    {
    }

    private void compressToolStripMenuItem_Click(object sender, EventArgs e)
    {
        foreach (ListViewItem foo in listView1.SelectedItems)
            Console.WriteLine(foo);
    }

    private void aboutToolStripMenuItem1_Click(object sender, EventArgs e)
    {
    }

    private void decompressToolStripMenuItem_Click(object sender, EventArgs e)
    {
    }

    [STAThread]
    static void Main()
    {
        Application.EnableVisualStyles();
        Application.SetCompatibleTextRenderingDefault(false);
        Application.Run(new GUI1Form());
    }
}

